<?php


namespace App\Repositories\Seller;


use App\Models\Seller;
use App\Models\User;
use App\Repositories\BaseRepository;
use Illuminate\Database\Eloquent\Model;

class UserRepository extends BaseRepository
{

    /**
     * @return Model
     */
    public function model()
    {
        return new User();
    }

    public function create(Seller $seller, $data)
    {
        return $seller->users()->create($data);
    }
}